﻿<%@ Page Language="C#" MasterPageFile="~/SiteWorx/ControlPanel.master" AutoEventWireup="true" CodeFile="NavigationManager.aspx.cs" Inherits="SiteWorx_NavigationManager" Title="Navigation Manager"
    Theme="Admin" StylesheetTheme="Admin"%>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="cntMain" ContentPlaceHolderID="cphMain" runat="Server">
    <telerik:RadAjaxPanel runat="server" ID="rapnlNavMaintenance" HorizontalAlign="NotSet"
        LoadingPanelID="ralNavMaintenance">
        <table border="0">
            <tr>
                <td valign="top">
                    <span class="siteWorxTitle">Navigation Manager</span>
                    <span class="siteWorxText">Use the navigation manager to ...</span><br />
                    <fieldset>
                        <legend>Navigation Menu</legend>
                        <telerik:RadTreeView ID="rtvNavigationMenu" runat="server" Skin="Telerik" EnableDragAndDrop="true"
                            EnableDragAndDropBetweenNodes="true" 
                            onnodedrop="rtvNavigationMenu_NodeDrop" 
                            onprerender="rtvNavigationMenu_PreRender">
                        </telerik:RadTreeView>
                        <br />
                        <br />
                        <asp:Button ID="btnSave" runat="server" Text="Save Changes" 
                            onclick="btnSave_Click" />
                    </fieldset>
                </td>
            </tr>
        </table>
    </telerik:RadAjaxPanel>
    <telerik:RadAjaxLoadingPanel ID="ralNavMaintenance" runat="server" Height="75px" Width="75px"
            Style="position: relative; top: -50%; left: 45%;" IsSticky="true">
            <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
                style="border: 0px;" />
        </telerik:RadAjaxLoadingPanel>
</asp:Content>
